package com.awx.client.widget.msg;

import javax.swing.JOptionPane;

public class AwxMsgUtils {

	public static void showMsg( String title, String message, int messageType ) {
		JOptionPane.showMessageDialog( null, message, title, messageType );
	}

	public static void showErrorMsg( String title, String message ) {
		JOptionPane.showMessageDialog( null, message, title, JOptionPane.ERROR_MESSAGE );
	}

	public static void showOkMsg( String title, String message ) {
		JOptionPane.showMessageDialog( null, message, title, JOptionPane.INFORMATION_MESSAGE );
	}

	public static void showWarningMsg( String title, String message ) {
		JOptionPane.showMessageDialog( null, message, title, JOptionPane.WARNING_MESSAGE );
	}


}
